package com.demo;

import com.okhttp.retrofit.BaseResponse;

/**
 * @author GYL
 * @dateTime 2020/4/21-18:13
 * @description
 */
public class Result<T> extends BaseResponse<T> {
  public String code;
  public String message;
  public T data;
  
  @Override
  public String toString() {
    return "Result{" +
             "code='" + code + '\'' +
             ", message='" + message + '\'' +
             ", data=" + data +
             '}';
  }

  @Override
  public void setCode(String code) {

  }

  @Override
  public String code() {
    return code;
  }

  @Override
  public void setMsg(String msg) {

  }

  @Override
  public String msg() {
    return message;
  }

  @Override
  public void setData(T data) {

  }

  @Override
  public T data() {
    return data;
  }

  @Override
  public String sign() {
    return null;
  }

  @Override
  public void setSign(String sign) {

  }
}
